< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03103700.xhp

(section: set) (bookmark: bm_id3154422)
Set statement
Nothing object

Set ステートメント
Nothing オブジェクト

Set Statement[Runtime]
Set ステートメント [実行時](hd_id3154422.1)

Sets an object reference on a variable or a Property.
変数や属性へのオブジェクト参照を設定します。(par_id3159149.2)

(/section: set)

Syntax:
構文:(hd_id3153105.3)

Set ObjectVar = Object
Set ObjectVar = Object(par_id3154217.4)

Parameters:
パラメータ:(hd_id3154685.5)

ObjectVar: a variable or a property that requires an object reference.
ObjectVar: オブジェクト参照を設定する変数ないし属性。(par_id3156281.6)

Object: Object that the variable or the property refers to.
Object: 変数や属性への参照を設定するオブジェクト。(par_id3159252.7)

Nothing - Assign the Nothing object to a variable to remove a previous assignment.
Nothing - 変数に Nothing オブジェクトを割り当て、以前の割り当てを削除します。(par_idN10623.)

Example:
例:(hd_id3159153.8)

Sub ExampleSet
Sub ExampleSet(par_id3147349.9)

Dim oDoc As Object
Dim oDoc As Object(par_id3149481.10)

Set oDoc = ActiveWindow
Set oDoc = ActiveWindow(par_id3153140.11)

Print oDoc.Name
Print oDoc.Name(par_id3153190.12)

End Sub
End Sub(par_id3161833.13)


< Prev / Next >